import java.util.Comparator;


public class PrimComp<V extends Vertex<V>> implements Comparator<Path<V>> {

	@Override
	public int compare(Path<V> a, Path<V> b) {
		Integer first = a.getLastWeight();
		Integer second = b.getLastWeight();
		return first.compareTo(second);
	}

}
